package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * TODO: 增加描述
 *
 * @author li.xh
 * @version 1.0.0
 * @date 2019-12-12 21:12
 * @copyright wonhigh.cn
 */
public interface PermissionService {
    PageResult findPage(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    Permission findUpdate(Integer id);

    void edit(Permission permission);

    void add(Permission permission);

    List<Permission> findAll();

    List<Permission> findPermissionIdsByRoleId(Integer id);
}
